/*
 * PreferenceInitializer.java
 * 
 * Copyright 2007 Kamen Petroff.
 * All Rights Reserved.
 * 
 * This software is the proprietary information of Kamen Petroff.
 * Use is subject to license terms.
 * 
 * Created on Mar 2, 2007 at 14:13:14 by Kamen Petroff
 */
package com.google.code.shell4eclipse.preferences;

import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.jface.preference.IPreferenceStore;

import com.google.code.shell4eclipse.Shell4EclipsePlugin;

/**
 * Class used to initialize default preference values.
 *  
 *  
 * @author Kamen Petroff
 * @since Mar 3, 2007
 */
public class PreferenceInitializer extends AbstractPreferenceInitializer {

	/**
	 * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
	 */
	public void initializeDefaultPreferences() {
		IPreferenceStore store = Shell4EclipsePlugin.getDefault().getPreferenceStore();
		
		store.setDefault(Preferences.P_EXECUTABLE, "cmd.exe");
	}

}
